﻿using NCron.Service;
using NCron.Fluent.Crontab;
using NCron.Fluent.Generics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LiteBlog.Scheduler
{
    class Program
    {
        static void Main(string[] args)
        {
            Bootstrap.Init(args, Setup);
        }

        static void Setup(ISchedulingService service) 
        {
            service.Daily().Run<DailyJob>();
        }
    }
}
